<?php
/***********************************************************
 * Copyright (C) 2010-2012 by Lifire
 * All rights reserved.
 * 
 * Filename: 
 * Description: 
 * 
 * Created by Lifire at 2010-11-18
 * Email:yunzhi.li.08@gmail.com
 ***********************************************************
 */
 ?>
<include file="Public:header"/>

<div class="main-wrap">
	<div class="position">后台管理:&nbsp;&nbsp;订单管理</div>
	<div class="title">客户订单管理</div>
	<div class="content">
                <table cellspacing="0" cellpadding="0" border="1">
                    <tr>
                        <th>姓名</th>
                        <th>电话</th>                                               
                        <th>邮箱</th>
                        <th>地址</th>
                        <th>状态</th>
                        <th>订单时间</th>                                             
                        <th>操作</th>              
                    </tr> 
                    <iterate name="list" id="vo">                                    
                    <tr>
                        <td align="left">{$vo['name']}</td>
                        <td width="100">{$vo['tel']}</td>
                        <td width="120">{$vo['email']}</td>
                        <td width="50">{$vo['address']}</td>     
                        <td width="60"><php>if($vo['replytime']==0)echo "新生";if($vo['replytime']!=0)echo "跟进";</php></td>
                        <td width="120">{$vo['addtime']|date='Y-m-d h:i:s',###}</td>                      
                        <td width="90">
                        		<a href="__URL__/view/id/{$vo.id}">查看</a>
                        		<a href="__URL__/reply/id/{$vo.id}">跟进</a>
                        		<a href="__URL__/del/id/{$vo.id}" 
                        				onclick="return confirm('删除订单确认');" title="删除">删除</a>
                        </td>
                    </tr>			                                            
                    </iterate>
                </table>					              
	</div>	
	<div class="pagination">{$page}</div>	
    <div class="clear"></div>
</div>



<include file="Public:footer"/>